package com.iwechat.mybatis.generator.dao;

import java.util.List;
import java.util.Map;

import com.iwechat.mybatis.generator.model.TemplateMessage;

public interface TemplateMessageMapper {

    int insertAndSend(TemplateMessage record);

    int insert4Scan(TemplateMessage record);

    int update(TemplateMessage record);

    TemplateMessage selectById(Long seqnb);

    List<TemplateMessage> query4Send();

    long getSeqNb();

    void updateStausBatch(Map<String, Object> map);

    int lock();

}